Is the test, which touches the filenames under directory, a kind of unittest? [on hold]
Posted
by
Chen OT
on Programmers
See other posts from Programmers
or by Chen OT
Published on 2014-06-04T12:13:49Z
Indexed on
2014/06/08
21:40 UTC
Read the original article
Hit count: 174
unit-testing
I was told that unittest is fast and the tests which touches DB, across network, and touches FileSystem are not unittest.
In one of my testcases, its input are the file names (amount about 300~400) under a specific folder. Although these input are part of file system, the execution time of this test is very fast.
Should I moved this test, which is fast but touches file system, to higher level test?
© Programmers or respective owner